﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class CharacterData
{
	public string fileName;
}


public class CharacterDataMgr 
{
	public static Dictionary<int, CharacterData> dicCharacter = new Dictionary<int, CharacterData>();

	public static void LoadData()
	{
		CharacterData characterData = new CharacterData ();
		characterData.fileName = "Tank_A_Set";
		dicCharacter.Add (0, characterData);
	}

	public static CharacterData GetCharacterData( int idx )
	{
		CharacterData characterData = null;

		if (dicCharacter.TryGetValue (idx, out characterData) == true) 
		{
			return characterData;
		}

		Debug.Log ("not found Character data");
		return characterData;
	}
}
